package com.kdd.campus.sh.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:shenkunlin
 * @Description:ShRecord构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "ShRecord",value = "ShRecord")
@Table(name="sh_record")
@Data
@Builder
public class ShRecord implements Serializable{

	@ApiModelProperty(value = "")
	@Id
    @Column(name = "id")
	private Long id;//

	@ApiModelProperty(value = "")
    @Column(name = "userid")
	private Long userId;//

	@ApiModelProperty(value = "搜索关键字")
    @Column(name = "keyword")
	private String keyword;//搜索关键字

	@ApiModelProperty(value = "")
    @Column(name = "created")
	private Date created;//

	@ApiModelProperty(value = "")
    @Column(name = "modified")
	private Date modified;//

	@ApiModelProperty(value = "搜索次数")
    @Column(name = "count")
	private Integer count;//搜索次数

	@ApiModelProperty(value = "状态(0表示删除，1表示显示)")
    @Column(name = "status")
	private Integer status;//状态(0表示删除，1表示显示)




}
